added browser view for pdf files; trying to incorporate coffee script
added dom search for pdfs and apply styling to a tag element