Told linter that window is global