Bug 1086127: update autocomplete script