Caching

This adds caching for the locale JS assets and improves the diagnostic output when asset retrieval/caching goes awry.
Looks like there's an errant "`" in there?