ddmlib implemented in node.js