added examples for using node.js