The exception is that 'require' is undefined.
This is because inside jQuery it is triggering queueModuleScript (line 1192) which does this when a script has loaded:
// Clear environment delete window.require; delete window.module;
however ext-language_tools.js in Ace editor is loaded separately and expects that require is still defined (having been defined in ace.js)