Cleaning cache.js from debug messages