perf(languages): improved js caching of languages by using simplecache

fixes #7458
Merge pull request #7693 from jdalsem/improve-language-caching

perf(languages): improved js caching of languages by using simplecache