Thank you for catching this bug!

As it turns out, Safari 7 and IE9 both return `object` for `typeof HTMLElement`. I'm thinking this might be better:

``` js
var isElement = ( typeof HTMLElement === 'function' || typeof HTMLElement === 'object' ) ?
```

If you want to make the change and push it up, I'll do a merge!