remove attachEvent from addEvent