Add slight doc to ajax_form_submit
More refactoring in utils.js