Replaced old leaderboard code and removed jquery dependency