Update script.js

Scoring is broken.  Works fine for the first player but not for the following players.