...
The 4.0 version of the platform ships with a new sub-system allowing plugins to "provide" “provide” new scripts and css files to areas of the platform. This is now the preferred way of implementing Javascript based plugins for content area, replacing existing undocumented systems.
...
The User Console is the only non-plugin area of the platform that participates in this system. You'll You’ll note that it's it’s context name is "mantle"“mantle”. For plugins the name of the context should be the id of the plugin.
...