(function(doc, script) {
var js,
fjs = doc.getElementsByTagName(script)[0],
frag = doc.createDocumentFragment(),
add = function(url, id) {
if (doc.getElementById(id)) {return;}
js = doc.createElement(script);
js.src = url;
id && (js.id = id);
frag.appendChild( js );
};
// Google+ button
//add('https://apis.google.com/js/platform.js', async="defer");
// Facebook SDK
add('//connect.facebook.net/en_US/all.js#xfbml=1&appId=772755279557744', 'facebook-jssdk');
// Twitter SDK
//add('//platform.twitter.com/widgets.js', charset='utf-8');
fjs.parentNode.insertBefore(frag, fjs);
}(document, 'script'));