Fixed issues with build script

too many slashes were being put in the regex in the controller.js file