Update host-with-node.js

made it into a node compatible library