corrected application.js for heroku