Using the Node.JS to create a censor function on words