Caching

This adds caching for the locale JS assets and improves the diagnostic output when asset retrieval/caching goes awry.
I'm actually going to do this. I don't like that explicit "page_spice.html" stuff in there, anyway.