Vanilla js library for formatting and validating credit card fields.