Set $wgLegacyJavaScriptGlobals false.

This is deprecated, and anything under code review should not be using
it.  This setting will help ensure that.

Change-Id: I75ad44c99f9e83238986753cd615947f6d00da11