Well i have just tried the sample example of real time js Google drive api. As they said in their tutorial,the application's text areas will be synced even if they are opened in different browser windows. But here the application is not doing that. It only reflects changes to the text areas of same browser window.
Here is the link: Google Drive Realtime JS API
Is there anything that i miss? I am running my application in Koding.com's vm.
Starting the quickstart app with the base url will cause it to create a new document.
To view the same document twice, you can copy-paste the full url after its loaded, which should include a document id, or open an existing document from drive with your app.