Initial version of nodejs integration

remove dead code