Added Window object to Context constructor.

Note: Error prone commit.