Fixed typeahead for safari.