title: Facebook SDK doesn't load...all.js GET failing
body: <p>I'm using the same code provided in the <a href="http://developers.facebook.com/docs/reference/javascript/" rel="noreferrer">here</a></p>
  
  <pre><code>&lt;div id="fb-root"&gt;&lt;/div&gt;
  &lt;script&gt;
      window.fbAsyncInit = function() {
      console.log('got here');
      FB.init({
      appId      : '197112467099018', // App ID
      channelUrl : '//WWW.MYDOMAIN.COM/channel.html', // Channel File
      status     : true, // check login status
      cookie     : true, // enable cookies to allow the server to access the session
      xfbml      : true  // parse XFBML
     });
  
     // Additional initialization code here
  
     };
  
     // Load the SDK Asynchronously
     (function(d){
      var js, id = 'facebook-jssdk', ref = d.getElementsByTagName('script')[0];
      if (d.getElementById(id)) {return;}
      js = d.createElement('script'); js.id = id; js.async = true;
      js.src = "//connect.facebook.net/en_US/all.js";
      ref.parentNode.insertBefore(js, ref);
     }(document));
   &lt;/script&gt;
  </code></pre>
  
  <p>Chrome's console is telling me the script failed to load (GET failed) with 2 errors which are labeled (anonymous function)</p>
  
  <p>The lines it points to as the errors are:</p>
  
  <pre><code>   ref.parentNode.insertBefore(js, ref);
     }(document));
  </code></pre>
  
  <p>Can anyone help me figure out whats wrong with these lines?</p>