worked on updating category filter on every searching and keeping checked categories checked after a search with ajax