handle facebook loaded state, reverting to non-jquery loading code