fix contenteditable diffing
use reverse loop with deletions
fix cloning when undefined present in tree