Fix up docs following move from browser -> windows in #18

Sphinx wasn't able to import windows to build the docs. The windows module itself imports DOMElement, so it needs to be defined before this runs.