@JakeCham Looks like the desired js is loaded on the page but desired logic is not called for each component just the top one.
It could be that the logic depends on particular id or class and is not invoked for other components. A look into the code or a similar example will help.
If something needs to happen to the component on page load, it should be able to pick desired attribute and perform the action