added isNaN, isDate, and isRegExp methods