Update shared/cache.js: fix execute error