Removed unnecessary JavaScript code and converted the used one to C#. Better null handling at ScoreControllerSetUp.