Remove unused windows/globals
Merge pull request #3060 from Manishearth/remove-window

Remove unused windows/globals; r=jdm