Fix issue with l10n, rework language.js