How to write more readable JavaScript conditionals | Hacker News Reader