Using JavaScript Promises to Reason About User Interactions | Hacker News Reader