updated the filtersales.js