Accessing variables on the window object

Did you manage to find a way to make this work?