Autocomplete extension: works with jQuery 2.1+. Fixes #291