Tweaking js for heroku.