How to submit jot form using ajax?