Is there an Equivalent in Javascript to VBScript isDate() function. I need either the function or a simple date validation.