player list stats and move select player code to js