Initial version of nodejs integration

consider renaming callback to done, as moca does