Modify app.js to allow for Heroku deployment