use standard js isNaN function.
Merge pull request #115 from devopsconsulting/isNan

use standard js isNaN function.