chrome extension to clear cache on window close