Why not change xmodule require.js things here together with all changes?
As far I know that Require.JS.require was introduced as temporary decision until this PR would created.
I do not think we need Require.JS.require anymore with this PR.

Or you suppose xmodule js should be rewritten later or not rewritten at all?