Fixed js error on Checkout page when Cart is empty

I fixed js error on Checkout page when Cart is empty.