functional search js
modified use of filter class

and other changes to make search work
modfied css for search