Begininnings of search logic for browser