documenting the ajax server calls