Structural changes to event handlers to allow for disabling webpage

Changed bind to addEventListener to utilize capturing. Used mouseover
and mouseout -> do not know why mouseenter/mouseleave do not work with
addEventListener