added support for click, dlbclick, mouseover, mouseout, and key press
added tests