check if something is not a number javascript