Some best practices for JavaScript modules | Hacker News Reader