Caching

This adds caching for the locale JS assets and improves the diagnostic output when asset retrieval/caching goes awry.
Would you accept the explanation that "when I *say* verbose, I *mean* verbose"?  I kid. I don't think I even need this line at all any more with the updated cache writing line.