Asynchronous array functions in JavaScript: reduce | Hacker News Reader