Fix ExecutionEnvironment.canUseDOM for IE8.