fixed the server.js for heroku