Modify js proto and add node snippets
Merge pull request #423 from ConnorAtherton/cla-node-snippets

Modify js prototype and add node snippets