Added window fallback in case view.window() is not defined
Updated CHANGELOG