Using jQuery event instead of originalEvent