requirejs exercise and remove mainConfig