Networking PlayerList JavaScript

I already have the basic script to connect to a server, but once i'm connected i want GUI Display of the Players connected to that server. I already have a server list display and to do that i was using this:

var hostData : HostData[] = MasterServer.PollHostList();

                                            for(var element : HostData in hostData)
                                            {

                                                //Then my display GUI
                                            }

You could tag each player and find them by using an array:

GameObject[] playerList = GameObject.FindGameObjecsWithTag("Player");