If i understand correctly, l10n.js consider the `<script type="application/l10n">` without `lang` attribute as being the fallback locale.
A comment explainin the precise story would help.