Woothee javascript(and node.js) implementation