node insertions buffer using document fragment and request animation frame