From what I have read JQuery's getScript function loads the script file in a global context using a function called 'global eval'. Is there a particular setting or method to change this so it will instead load within the function I am calling it from?

If I do the following code name returns undefined as its not loading the script in the local context.

```
    function callscript(){
        var name='fred';
    getScript(abc.js);
    }

//abc.js:
alert(name);

```