updated app.js to main.js - a Heroku requirement