cleaned up the code for clear cache, removing conditions based on page DOM, added some todos too