reference to frameDoc and frameWin correctly updated also with cached pages