Smaller and usually faster: http://jsperf.com/infinity-based-isnumeric