This is a very clever solution to an otherwise hairy problem. I haven't looked too deep into the mechanics here yet, but am wondering if it is possible to take the cultureMap a step further and have it store the full path+hash, keyed by the locale, rather than just the hash. So the consuming code wouldn't always need to construct it with the hash?

The result would be that this consumer code would rather be:

`var bundlesToLoad = ['/ui/bundles/default.properties', cultureMap.bundles[locale]];`

And the `hash = '.' + cultureMap.bundles[locale];` code wouldn't need to exist here or in l10n.

This only makes sense if the hash isn't needed for other purposes than just constructing the URL to the culture bundle.