Remove redundant uses of window.*