added support for NodeJS