node.js and REST step 2