// product.js code cleaning