If you begin typing in the card number area, the JavaScript will automatically detect the card type and colourise the relevant image.
None of the information you enter is stored.