add usage example for isAjaxCall()