make style and pdf.js working at the same time