add a cache for compiled js files.