expose callback before ajax form serialization (pre-submit) in order to fix
a multipart/encoded form serialization issue in IE-8/9

https://github.com/malsup/form/issues/371