rework of the l10n content-script for mozilla addons