Pass curlIndex to each $.ajax function and set constant for results anim