heroku socket bug fix http://stackoverflow.com/questions/23987571/node-js-app-works-locally-but-heroku-says-missing-module
enable heroku to set port dynamically
fixed script import