This:
<script src="https://apis.google.com/js/client.js?onload=gapiInit"></script>
Will fully load client.js before continuing. Make sure you put it after all markup on the page to increase performance.
While this:
<script>
// Asynchronously load the client library
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/client:plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();
</script>
Seems like it will load both the client and plusone js modules (notice in the path the client:plusone). It will load in the background. The url seems to be missing a callback though:
https://apis.google.com/js/client:plusone.js?onload=onLoadCallback
This has the benefit of if you wanted to load it later or conditionally. When its done loading it will call the onLoadCallback function that you must define.