Functional programming in Javascript | Hacker News Reader