Fixed a bug that: NaN === x will never be true.
Changed not depend on the global installation of npm.