added the rest of node-js-sample