(function () {
  "use strict";

  var tracks = document.querySelectorAll(".review-track");
  tracks.forEach(function (track) {
    var original = track.querySelector(".review-set");
    if (!original || track.querySelectorAll(".review-set").length > 1) return;

    var duplicate = original.cloneNode(true);
    duplicate.setAttribute("aria-hidden", "true");
    track.appendChild(duplicate);
  });
})();
