Slight change to isNaN

Added an ! before the isNaN due to error from last test.  Uncaught
ReferenceError: isNan is not defined.