Corrects isNaN global to coerce to number value. Fixes #652
Merge #653 r=@tcr: Corrects isNaN global to coerce to number value. Fixes #652