Use token_link also for redirects.
Indentation.
Use only the 'required' attrib for JS checking
Improve JS for validation and form defaults.
Implement client-side JS upload progress with FormData

- Remove server-side support for upload progress.
- Transparently upgrade existing forms to XHR/FormData when possible.
- Much cleaner and responsive.