Fix ajax logic for custom helper. Fix ajax logic for adding items to cart.