more search input stuff
js added to temprate
js added to temprate