Changes for capturing webpage and rendering it to PDF.