coffeescript for product index