If you download the Javascript Google client by creating a script tag:
var script = document.createElement('script'); script.src = 'https://apis.google.com/js/client.js' document.body.appendChild(script);
it loads javascript, but it does not become available as a global window object immediately. "gapi_processed" is true when window.gapi is a populated object.
for script tags created in HTML markup, if you browse the sources using Chrome tools, you will notice that the attribute is highlighted as modified.
source share