isNaN optimizations
Merge pull request #2 from subzey/feature/nan

isNaN optimizations