updating html2pdf, clickmap and painmap form

Corrections to allow html2pdf to run with clickmap forms