A vanilla JS version of Stripe's payment formatter https://github.com/stripe/jquery.payment