POC: Mimic LaTeXiT with KaTeX and JavaScriptCore API.