#1 optimize working with DOM via fragment