Fix because heroku is terrible with js