adding AJAX index