Code Works in Preview but not in Published?

@murphyjaneway A dataset.onReady() is only needed once, in the page’s onReady(), to ensure that the dataset is ready when the page is. It is unnecessary and incorrect when used in other places and contexts.