converted app's js files to coffeescript