Cleaning DOM when loading from localStorage.