This will evaluate `code` in the local scope, giving it access to the internals of `bootstrap/casper`, which is probably not desirable.

Did you consider using `createFunction` here instead?