Remove obsolete scripts from global browser scope.