Added support for CommonJS/browserify