Modified testValid and handleSubmit to pass the event object + zepto mobile fix to prevent submission on unhappy elements on mobile