If we aren't using this anywhere else, let's move it in to the annotations file and not expose this on the global PDFJS.