Move AJAX loaders to start.
Move code around. No other changes.
Rename _form to _submit function to make clear what they do.