moving the node.js init script into the nodejs module
adding support for env port setting