const BLOCKS = [
'#block-yui_3_17_2_1_1747354111801_66044', // Accommodation summary
// add more block IDs here
];
const scope = document.querySelectorAll(BLOCKS.join(','));
if (!scope.length) return;
// now query only inside `scope` instead of `document`