Create skeleton JavaScript project with node, npm and mocha
Add javascript tests (converting them from java tests)
Add JavaScript implementation
Merge pull request #1 from tarvaina/master

JavaScript implementation