working javascript for live game data