fixed js for facet categories