Update ajax.js

Fixing some grammatical omissions in one of the error messages.
Merge pull request #354 from taidan19/patch-1

Update ajax.js