Switch to mw.loader rather than depreciated importScriptURI

Per
https://www.mediawiki.org/wiki/ResourceLoader/JavaScript_Deprecations