How do JavaScript closures work? | Hacker News Reader