Functional Refactoring in JavaScript | Hacker News Reader