added lib/node.js, Node.js API adaptor