add mouseout and DOMActivate events