Manual:$wgResourceModules

Examples
Below is an example of how to use this in an an extension.

You would put this in your   file.

Options
See $wgResourceModules.

Loading module
See :