Refactored isA, isBool, etc functions to use some of ES5 goodness.
Refactored isA, isBool, etc functions to use some of ES5 goodness.

dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node,dreamllq/node