products.js added to API