Fixed waiting for facebook to load