Avoid JS error when facetapi.js is not loaded