Changing resource use and minified requirejs