javascript now pulls total orders in cart from database instead of updating based on number of images on the dom