Fixed font loading in JS and added conversion of innerText to codepoints