Fixes cache manifest URL and content generation
Fixes build issue if languages is not defined