Use RequireJS to load a JavaScript after another JavaScript (jQuery in your case): How to load a JavaScript on demand using RequireJS
Use RequireJS to load a JavaScript after another JavaScript (jQuery in your case): How to load a JavaScript on demand using RequireJS