Set JS var fbApiInit after Facebook JS SDK has been initialized

Setting a pretty standard JS var after the Facebook JS SDJ has been initialized, so that we know when we can start calling the FB api.