hooking up player and team data to game javascript