
        header.innerHTML = "";

        for (const tag of split) {
            if (tag.length < 1) continue;
            const tag_elem = document.createElement("div");
            tag_elem.className = "tags";
            tag_elem.innerHTML = tag;
            header.appendChild(tag_elem);
        }
    }

    /* Press "P" to reveal furigana for the target word */
    var P_KEY = 80;
    document.addEventListener('keydown', (event) => {
        if (event.keyCode === P_KEY) {
            for (