Added access to $form in complete and error callbacks, as per my comment in malsup/form#205