fix: sync was leaking into window even in AMD builds

i18n.sync was leaking into window