Copied and pasted in edits made to newScore() from BoxMuller version, deleted repetitious calls to newScore and score+=payout. Flag and points counter work correctly.
Updated CSS rules to start points_flag and points_fill from same height, as in BoxMuller