Speed up for DOMInsert