Add guard for internet explorer 10.
Fix PhantomJS guards.