Bug 934726 - Use CustomEvent in l10n.js. r=stas