add `window.given`

this is bad.