check if value is not a number javascript