samples for node.js