Clean things up in Safari and Firefox.