add setMouseEventCallbacks method into Element