Heroku and JS changes