The Microsoft Ajax Minifier has a setting to consider Evals as "ignore", or "local". When 'ignore' it means you are assuming the eval is not intended to access any scope, so it can safely minify as usual. Local means it is intended to access the current scope, but ONLY the current scope, so parent scopes can still be minified. Another mode, Safe, means it may access any scope.