Initial version of nodejs integration

else - throw error ???