Pass event for preventDefault()