Fixed Uncaught TypeError: Cannot read property 'length' of undefined formValidation.min.js: formatted:732

For...in loop on credit card types would break. This is a fix for that.
(i) gets checked to make sure it's not a method.