option to no clear out DOM globals