Fixing issues with resource loader.
Fixing issues with resource loader.

imbushuo/MediaWiki-Sm2Shim,imbushuo/MediaWiki-Sm2Shim,imbushuo/MediaWiki-Sm2Shim,imbushuo/MediaWiki-Sm2Shim,imbushuo/MediaWiki-Sm2Shim