Configuration:
- PDF.js version: 2.0.550

Steps to reproduce the problem:
1. Render document in SVG mode `renderMode="svg"`

What is the expected behavior? (add screenshot)
Rendering annotations same way as they rendered on canvas

What went wrong? (add screenshot)
```
Warning: Unimplemented operator beginAnnotations
Warning: Unimplemented operator endAnnotations
```
return this.getPage(0).catch(async reason => {
      if (reason instanceof XRefEntryException) {
        
        
        
        this._pagePromises.length = 0;
        await this.cleanup();
        throw new XRefParseException();
      }
    });
  }
  fontFallback(id, handler) {
    return this.catalog.fontFallback(id, handler);
  }
  async cleanup(manuallyTriggered = false) {
    return this.catalog
      ? this.catalog.cleanup(manuallyTriggered)
      : clearPrimitiveCaches();
  }
  /**
   * @private
   */
  _collectFieldObjects(name, fieldRef, promises) {