Update ajax.js

Fixing some grammatical omissions in one of the error messages.