add lazy loading for pdf.js package

The plugin loads pdf-dist package in html page only on demand