Some simple refactoring of search
Stop tracking state in the DOM
Only open search for alphanumeric characters
Avoid calling ensureVisible if there is no selected result