Shopping cart page exercise on Javascript