for (let i = 0; i < stuffOnMap.length; i++) {
stuffOnMap[i].hidden = true;
}
Notes:
If the controls are still there try to add a pause action (Navigation - add a pause before next action) and experiment with the number of milliseconds.
Looking at the documentation in the intro it is actually not that hard to add the component to the page with some Javascript and then use your suggestion to hide the controls.