Fixed raced condition, waiting for FB.init() to finish because checking login status