Use wgExtensionAssetsPath + mw.config.get() in the JS file

Change-Id: Ibeaa774ebd569e2883ba9e50c6a8140aadf82c4c