MDL-59527 autocomplete: Don't fetch ajax twice