     this.onDocumentComplete = this.onDocumentComplete.bind(this);     this.onPageComplete = this.onPageComplete.bind(this);   }    onDocumentComplete(pages) {     this.setState({ page: 0, pages });   }    onPageComplete(page) {     this.setState({ page });   }    