changed comments to reflect the ajax function source