Show HN: LoadJS – A tiny async loader for modern browsers
github.com
github.com
But for production builds I highly recommend Almond: https://github.com/jrburke/almond
late ps: recently ported a 2K ugly codebase (50% of global state mutation) under requirejs/AMD. It was indescribably good. Everything nicely scoped, no leakage. All of a sudden refactoring became a bliss.
It looks like webpack solves the first problem (http://webpack.github.io/docs/code-splitting.html) but for external unmanaged libraries they recommend scriptjs.
RequireJS is a fully-featured dependency manager that works in legacy browsers. It has a payload size of 6.2KB (minified + gzipped).