Fix Nested Repeater Layout

Fix JS to inject collapse button conditionally into the inner div of the repeater row