Messing about with the event.preventDefault()