Added formatAjaxError documentation

Added formatAjaxError documentation
Merge pull request #2494 from Ermish/gh-pages

Added formatAjaxError documentation