Initial commit of node.js rewrite