Added an option to pass javascript code to be run in the sandbox.