Upgrade your yui3 from 3.3.0 to the latest version, there's a very useful property of yui config which is 'async' to make your js files load more faster!
attached to Y after used Y.ModuleA = {}; }); YUI().use('module-a', function(Y) { // Y.ModuleA is available }); YUI().use('node', function(Y) { // another YUI instance // module-a is not attached to Y }); 1 0
loading modules a, b, c in parallel // 2. all modules are loaded // 3. attached a, b, c to Y in order // 4. all modules are available now in this callback });