A smaller, dirtier require.js-style loader to manage dependencies and async module definition.