broke up javascript into external file, hooked up search box