Drupal.ajax.prototype.
beforeSubmit
: Drupal.ajax['feedback-submit'].options.beforeSubmit = Drupal.feedbackBeforeSubmit;