Matching and Replacing Whole Words in JavaScript | Hacker News Reader