Implemented DOM3EVENTS and UIEVENTS interfaces