ECMS-5655: Apply pdf.js for viewing other document types