Issue #4 add js version (on node.js)