handled quirks mode about IE
Fixed: quirks mode check strategy was wrong