Nothing beats my dependency manager, which I'll just call DrGonzo:<p><pre><code> var exports = {};
function require(modname) {
if (modname == 'jquery') return $;
else if (modname.startsWith('.')) return exports;
else { console.log("Unknown require()", modname); return exports; }
}
</code></pre>
(Of course you've gotta <include> the modules ahead of time -- I actually use this for <a href="http://8bitworkshop.com/" rel="nofollow">http://8bitworkshop.com/</a>)