added js to display the game stats