Expose callback-style convertDocumentToHtml in browser module