Add pdf.js support for better pdf viewer.