check if query is ajaxify