update js search tab