How to log JavaScript errors | Hacker News Reader