Working on the  javascript for the products page