Add leaveSubmitMethodAlone option to disable form submit hack