How to Check If A Value Is Not A Number in Javascript