removed script tag from the pdf