Submit form

Why not put this in a js function and only call it here (and in the else statement)??
something like this: 
```javascript
check_and_validate_form: function($form){
  $form.successfulSave(response);
  $form.checkForm();
  $.extend($form.submitted, $form.errorMap);
  $form.invalid = $.extend({}, $form.errorMap);
  if ( !$form.valid() ) {
    $currentForm.triggerHandler("invalid-form", [$form]);
  }
  $form.showErrors();
  return $form.valid();
}
```