Structuring and adjusting the styling for the PDF.js integration