Fix guards for IE9/10.