// refacto for product-list js