KSP has a working require.js workflow (loading resources is deferred on plugin init)