Fixed bugs in facebook.js that was breaking showFriendList tests.