Added support for RequireJS / NPM