Sandbox JavaScript code