altered server.js for heroku export