added pdf creation using base64 html