node.js example update
Merge pull request #3 from rlidwka/patch-1

node.js example is incorrect or outdated