1. A computer implemented method for an isolated program execution environment, the method comprising: receiving, by the isolated program execution environment on a computer comprising a processor and a memory, a request to run a program; wrapping program code corresponding to the program as a function; cloning a real global object of the isolated program execution environment to create a fake global object; passing the fake global object to the function; and executing the function, such that the function executes the program.