Fixed credit card date format issues in according to JavaScript timespan format