Fixed direct link to pdf files, allowed scripts for sandbox atribute in ...

...HTML5.