javascript Library for creating custom coupons