fix(docs:dom.js): fix bag with non-latin heading

When heading is translated with non-latin characters, this is broken design of api pages, because all classes become "-----"