Fix issue according to .preventDefault()

Create custom event for each event firing.