Added JavaScript stuff in product index page