Now throws all ajax errors in validation.js correct. Working on github issue #3