I want to transform an HTML element into a PDF with the javascript library jsPDF. According to the documentation, the module to do this is:
var doc = new jsPD