pdf to image converter, using pdf.js