Fixed IE 11 check since it might fail in emulation mode.