Getting closure in JavaScript | Hacker News Reader