put cache stuff into cachedata.js