bug fixes for requirejs

* Added **grunt-requirejs** to package.json
* added optimizedPath for main.js