// https://dev.twitter.com/web/javascript/loading
window.twttr = (function (d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0],
      t = window.twttr || {};
  if (d.getElementById(id)) return t;
  js = d.createElement(s);
  js.id = id;
  js.src = "https://platform.twitter.com/widgets.js";
  fjs.parentNode.insertBefore(js, fjs);

  t._e = [];
  t.ready = function (f) {
      t._e.push(f);
  };

  return t;
}(document, "script", "twitter-wjs"));

// https://developers.facebook.com/docs/plugins/share-button
(function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s);
js.id = id;
js.src = 'https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.11&appId=366384430479764';
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
@@ -511,33 +511,32 @@
 button%0A(function
- 
 (d, s, id) %7B%0Avar
@@ -532,16 +532,18 @@
 , id) %7B%0A
+  
 var js, 
@@ -578,16 +578,18 @@
 (s)%5B0%5D;%0A
+  
 if (d.ge
@@ -614,16 +614,18 @@
 return;%0A
+  
 js = d.c
@@ -640,17 +640,17 @@
 ment(s);
-%0A
+ 
 js.id = 
@@ -653,16 +653,18 @@
 d = id;%0A
+  
 js.src =
@@ -731,34 +731,14 @@
 v2.1
-1&appId=366384430479764
+2
 ';%0A
+  
 fjs.

Update fb js to v2.12