JS performance: try / catch versus checking for undefined | Hacker News Reader