First pass at removing JS gettext() in favor of server-side substitution.

[LMS-1680]