css cleaning, implemented pdf preview with pdf.js, additional viewers can be added in config.js