added ajax support to the cart