Manual:$wgUseSiteJs

Details
Use the site's Javascript page? See MediaWiki:Common.js