Javascript RORO pattern | Hacker News Reader