Remove Jaml from DOMElement.
Add throw ReferenceError to TemplateFactory.