fix js error caused by changing scoreboard markup for score