just quick copy&paste to make the code available in node.js