Speeding up

correction on initial parsing, removing dom manipulation:
1Mo parsing (3000ms -> 600ms)
Correction on insertion. Using fragments.
 56ms -> 18ms