adding ajax for the cart