Promo code functionality for simple cart js