Change minLength option to autocomplete.minLength