added window.trans to l10n buttons and alt txt in js