<script>
'use strict';
$(() => {

  cd.showStartingInfoDialog = (onOff) => {
    if (cd.kata.index() === 1 && onOff !== 'off') {
      cd.trafficLightsButton().click();
    }
  };

});
</script>

<script>
'use strict';
$(() => {

  cd.showStartingInfoDialog = (onOff) => {
    if (cd.kata.index === 1 && onOff !== 'off') {
      cd.trafficLightsButton().click();
    }
  };

});
</script>

Update starting-info-dialog to use kata.index which is no longer a function.
Update starting-info-dialog to use kata.index which is no longer a function.
