Update code for Node.js
Merge branch 'master' into gh-pages