Support for mouseup event on elements