JavaScript now sets player names