Showing products in JavaScript