#64036Allow RequireJS module loading to execute custom code
Description
When loading RequireJS modules, it is sometimes helpful to
execute custom code or set inline settings coming from the
server side.
A second parameter in the PageRenderer->loadRequireJsModule
allows to work exactly like using the JS code directly for
require([module], function() { customCode(); });
This is used as a basis to allow proper coding of JS changes
like the legacy tree functionality.