Helps to organize your code in modules and load them asynchronously.
Some examples goes here.
jsLoader.require('test1', 'test2', function() {
log('EXECUTED: inline script waiting for test1 && test2');
});
jsLoader.require('domready', 'test2', function() {
log('EXECUTED: inline script waiting for domready && test2');
});
jsLoader.domready(function() { // or jsLoader.require('domready', function() {
log('DOM ready');
});
jsLoader.load(['test3']);
See full example here.