add the validation process of credit card number in js