refactors jQuery for facets
refactors CSS for facets