window.onload = function () { setTimeout(function () { var loadingIndicator = document.getElementById("loading_indicator"); if (loadingIndicator) { loadingIndicator.remove(); } }, 10000); };