Log more AJAX actions.
Replace previous AJAX experiment with ajaxForm.
Attach #ajaxForm to the form instead of just the file field.