troubleshooting to get javascript files to work on Heroku.