Cleanup unused global DOM refs