remove code from cache when index.js is loaded to enable module hot-swapping