added trim method
return if the input element is not found/undefined
fixed cardExpiryVal method