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