// begin refacto for product-list js