Handling asynchronous operations in node.js | Hacker News Reader