document.addEventListener('DOMContentLoaded', function() { startPolling(); });