Simple js component that is an enhanced typeof function. Reliably returns object types, and node types for modern browsers.