[doc] fix window scope require call"