This is required as code within the ACE editor would get duplicated if the switch forces a full pageload otherwise.