modified grunt build and server to better handle component javascripts