The fast jQuery way of inserting the Facebook JS Library $(“<script/>”, {async: “true”, src: document.location.protocol + ‘//connect.facebook.net/en_US/all.js’}).appendTo(“#fb-root”);