Fix V8 bridge bugs detected by testdata/html-019.html

src/v8/bridgeV8.cpp (NativeClass::createJSObject): Return the global proxy for a window object
src/v8/ScriptV8.cpp (ECMAScriptContext::Impl::activate): Refine