I18n messages for JS code using MessageFormat