resolving products.js issue.