adjustment of shopping cart.js so i'm not editing the array inside of a forEach. David says that is a no-no.