use i18next in js. fix removing button click error