Use global require instead of requirejs.config

As requirejs may not be defined yet (it's loaded after the config).