Check if form.$.submit is function.