small tuning of the DOM.parseTemplate
Allow to add detail for any event when fire