add DOMWindow to $.type