@valera-rozuvan Why not use requireJS as in GST, WordCloud, Video i.e. have a lit_main.js and lti.js? I know, there would be only one module but it would be nice to standardize the JS of the XModules. And the extra wrapper wouldn't be necessary anymore.