Update DomElementTemplate to remove  old elementRef value for #19