separated node.js implementation, improved tests, bumped version