Added $wgCompatablesJsonFileUrl and made various cleanups