i do this by replacing the <form> element with a <div> so the form no longer has default behaviours that need to be overridden by jquery.