1022767 use json l10n manifests

https://bugzilla.mozilla.org/show_bug.cgi?id=1022767
how about using `var links = [...doc.querySelectorAll('link[rel="localization"]')];` or `Array.from()`to convert to Array? then you can use `Array.forEach()`.