Initial checkin of node.js rewrite.