Be careful when replacing strings in JavaScript | Hacker News Reader