Selection tags not working

You might try adding $w ( “#dataset1” ).onReady(() => {…} inside the page onReady function to make sure your dataset is ready.