Expected identifier, string or number ERROR

Hi,

I keep getting a pop up error from IE 7 on this script below where I have the arrow. I’ve tried and I can’t seem to fix it.

<script>
window.fbAsyncInit = function(){
FB.init({
appId      : '<?php echo $config->appId; ?>',
status     : true,
cookie     : true,
xfbml      : true,
oauth      : true,
});      <-------------------HERE  "Expected identifier, string or number"
};

function getAuthStatus(){
FB.getLoginStatus(function(response){
	if(response.status === 'connected'){
		window.location = '?fb_auth=1';
	}else if(response.status === 'not_authorized'){
		//not authorised
	}else{
		//not connected
	}
 });
}

(function(d){
var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
js = d.createElement('script'); js.id = id; js.async = true;
js.src = "//connect.facebook.net/en_US/all.js";
d.getElementsByTagName('head')[0].appendChild(js);
}(document));
</script>

Lose the comma.

Yeah, That was it. Thanks