ajile enables namespacing, dependency-management, and on-demand loading of cross-domain, local, and inline JavaScript within browsers.
ajilebrowsercompatiblecross-domaindependencyimportincludeinlineloadnamespaceon-demand
http://ajile.net/