add addEvent for ie