repair index.js cache