Why did you drop partials

I’ve always wanted a way to control footer scripts across the site. Ideally you should only have the script> tag in header> or body>. Partials would almost work to help keep footer scripts organized and controlled by one master file but (like component items) you’d have to put the script in a div> or something which is not semantically correct. If the partials had an insert after (like WP php does) then I could insert my footer script> tags after my highest div tag and they would come out clean. Would a adding before/after be hard for this element?