Super-simple gettext translation in pure JS