Prevents double submit with e.preventDefault()