Remove 'window' from code examples.

It's not necessary since we already have access to the window
object.