MDL-40546 switch JS caches to localcachedir