added documents and fixed reference/window.md