rebuild with corrected server.js

added environmental port variable for heroku