final JS changes for shopping cart