Feature/add i18n for javascript