[jquery] How to trigger an event after using event.preventDefault()