fixed serious bug causing duplicate call of DomHelper.insertHtml callback
by the way switched from setTimeout to Defer.nextTick in that place