Added qs_request->isAjax call