Fix js file for heroku