Cross browser add event and remove event