javascript on heroku fix