Bug 981274 - Update autocomplete script

[merge]