JavaScript port for node and browser
Merge pull request #2 from toolsley/master

JavaScript port for node.js and browser