moved populateFacets() and populateResults() into utilities.js