overrides _.template to support calls to gettext