javascript if value is not a number