fixing js on heroku