more support for window, document reference detection