JavaScript closures and recursion | Hacker News Reader