Js doc for search and filter