Updated search bar to work in firefox and chrome