Added support for Node.js/CommonJS