Fix RTV init for browsers that have re-entrant load event on doc.close
Fix RTV init for browsers that have re-entrant load event on doc.close

linagora/overture,fastmail/overture,Hokua/overture,linagora/overture,adityab/overture