some ie js optimization