document.addEventListener("DOMContentLoaded", function() { var calendarContainer = document.getElementById("google-calendar-container"); if (calendarContainer) { calendarContainer.innerHTML = ''; } });