Sample code for node.js study