basic scorecard js now working