add domEmpty to clear a node