i18n jquery and req.flash localization