javascript check if variable is not a number