inlineKnockoutJsTemplates: Preserve attributes other than type and id when hoisting inlined templates.