jshint errors fixed and minor leaderboard bug fixed