a sandbox for running JavaScript code in a browser with instrumentation