phoebe: fixed ajax call; something's still not right though. flags can't delete: resource can't be found