Encapsulation in JavaScript | Hacker News Reader