Inspect "window" object: do nothing, if there is no "context" node
Inspect "window" object: use beginUpdateBatch()/endUpdateBatch() to slightly improve performance