Partial application in Javascript | Hacker News Reader