massive speedup avoiding innerHTML and removeAll