Add require to the global object

Following codes are failed to run:

```
var x = new Function('return (' + 'function() {console.log(require)}' + ')')();
x();
```