[DOC] Fix typos in `ajaxSuccess`
Merge pull request #2382 from lsthornt/fix-ajaxSuccess-doc

[DOC] Fix typos in `ajaxSuccess`