Pdf.js and viewer.js. Pass a stream or blob to the viewer Pdf.js and viewer.js. Pass a stream or blob to the viewer javascript javascript