Some minor Typos
added forgotten cached document & window