Adding bits to make it work in node.js