adds facet JS and required CSS rules