write blog post about String.replace in JavaScript