simpify isDate() and remove unnecessary semicolon.
remove unused variable and merge
Merge pull request #53 from hotchemi/spike

simpify isDate() and remove unnecessary semicolon.