Javascript How To Check If Number Is Nan