fixed quirks mode on ie8 and 9