added undefine check

to take care of an error that occurs when

remotePlayers[data.id].score is called in onUpdateRemoteScore when remotePlayers[data.id] is undefined