add pre and post function possibility onAjaxComplete and onAjaxBeforeSend