fix search input and foudnation javascripts;