Example of how 'this' can be applied to the window object in callbacks