fix typo in code document -> window