es6/Math: use Number.isNaN

use number.isNaN to test for NaN
pointed out by @anba in #60

PR to fix #60