+) {
                const clone = track.children[i % track.children.length].cloneNode(true);
                track.appendChild(clone);
              }
            }

            // Duplicate the set once for seamless loop
            duplicateForSeamlessLoop(track);
          }
        } catch (err) {
          console.error(err);
          track.innerHTML = placeholderHTML("Having trouble loading stargazers‚Äîplease refresh later.");
        }

        // Bind behaviors
        attachPulseOnClick(trac