Make ajax_form_submit use a success callback

...rather than hardcoding the success logic or forcing the AJAX
submission to be synchronous.