having js issues with heroku