update doc for window.coffee