messing with js to fix heroku