remove needless vars
adds $("#wsu-search") as a global
refactors the search extension