Same comment here about using data-l10n-id instead of explicit calls to l10n.get() in the template function.