Set $wgIncludeLegacyJavaScript false by default