Share document/window objects with node-webkit's node context