A credit card validator, using the luhn algorithm, in JS.