Use iframe and native pdf renderer instead of pdf.js