HTML to PDF renderer using BookJS