fixed isNumber
added asDate for casting dateString to date object
Merge pull request #3 from andelo/master

fixed isNumber