Fix AJAX for RGQ