Update rd score php to prepare output values

The rd_match_score.php file is updated to correctly set output values
that are expected by the index.php script to set its own js variables.