Packages PDFViewer as a UI component.
Introduces 'pagesinit' event.