Fix #20 - check originalEvent at global click event handler

By unknown reason, an event object does not have originalEvent
property in some cases.
update sample html