Search and replace done with Node.js