```window``` must also be an argument, like ```document```.