updated app.js file to work w/ heroku