Simple Javascript Luhn Implementation