Finished javascript validation of credit card input. Part A should be finished