Führen Sie das Skript nach HTML -Laden aus
window.onload = function ...
Outstanding Oystercatcher
window.onload = function ...