brainy-ice-92385
<script src="base.js" hx-preserve></script>
if (! currentHeadChild.hasAttribute('hx-preserve')) { ... do the removal ...}