Added event.preventDefault()