Better isXXX checks.   ref https://github.com/jashkenas/underscore/pull/321  Faster implementation: http://jsperf.com/underscore-js-istype-alternatives