       loadDashboardData();
            
            // Check if placeholders weren't replaced by server
            checkAndFixPlaceholders();
        });

        // Add event listeners for page visibility and navigation events
        document.addEventListener('visibilitychange', function() {
            if (document.visibilityState === 'visible') {
                // Page is now visible (user returned to this tab)
                loadUsers();
                loadDashboardData();
                checkAnd