implemented functional shopping cart through use of jquery