cleanup files and update app files to coffee script
fixes for protractor and karma tests