JavaScript Range Errors and how to prevent them | Hacker News Reader