added support for the requirejs namespace