Can someone explain why this Node.js code fails? | Hacker News Reader