So I have an object called window, which I need to access in many different parts of my project. Passing the Object around from function to function is therefore not a very feas