javacript fix heroku