switch autocomplete to not use sinatra