Autocomplete: Refactored _response() so that requestIndex is defined closer to where it's used.