  const comment = document.querySelector('.moment-comment[data-comment-moment-name="' + name + '"]');
            if (comment.style.display === "none") {
              comment.style.display = "block";
            } else {
              comment.style.display = "none";
            }
          };
        </script>
        <script>
          const UpvoteManager = (itemType = "moment", group, pluralForm) => ({
            upvotedItems: [],
            init() {
              this.upvotedItems = JSON.parse(localSt