Added javascript for retrieving and displaying leaderboard details