hides an empty cart with javascript (Iteration F4, Ch. 11)