require.js

RequireJS is a JavaScript file and module loader. It is optimized for in-browser use, but it can be used in other JavaScript environments, like Rhino and Node

loadermodulesasynchronouspopular

http://requirejs.org/