Fixed replace task in the Grunt build task so that it runs the replace on the needed files.