Put javascript in index.html to see if it would work on heroku deploy