Facebook Javascript missing } after property list
<p>What could cause this problem in the following Facebook JavaScript. Its SDK can't be loaded asynchronously hence init within <code>window.fbAsyncInit = function() {</code> cannot start  guide my hand please! I do not want to be forced to load it in the <code>&lt;head&gt;</code>.</p>

<pre><code>&lt;div id="fb-root"&gt;&lt;/div&gt;
&lt;script&gt;
  window.fbAsyncInit = function() {
    FB.init({
      appId      : 'GGG', // App ID
      channelUrl : '//WWW.YOUR_DOMAIN.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
      oauth  : true, // enable OAuth 2.0
    });

    // Additional initialization code here
// Check if the current user is logged in and has authorized the app
      FB.getLoginStatus(checkLoginStatus);

      // Login in the current user via Facebook and ask for email permission
      function authUser() {
        FB.login(checkLoginStatus, {scope:'publish_actions,publish_stream'});
      }

      // Check the result of the user status and display login button if necessary
      function checkLoginStatus(response) {
        if(response &amp;&amp; response.status == 'connected') {
          alert('User is authorized');

          // Hide the login button
          document.getElementById('loginButton').style.display = 'none';

          // Now Personalize the User Experience
          console.log('Access Token: ' + response.authResponse.accessToken);
        } else {
          alert('User is not authorized');

          // Display the login button
          document.getElementById('loginButton').style.display = 'block';
        }
      }

  };

  // 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>
