Refactoring.
Less diving in to DOM.
Disallow editing multiple items at same time.