Credit card verification javascript array