Add animate.css.
Use HTTP status codes rather than JSON error messages.
Excise jQuery :)