refector Cart.js and item_cart.js