   refresh: ->
     wizardData.update JSON.parse JSON.stringify DEFAULT_DATA
 
-window.projectCreationWizardData = wizardData
 wizardData.refresh()
 
 StepStatusIcon = React.createClass


    subjectSet = apiClient.createType('subject_sets').createResource subjectSetData
    subjectSet.save()

  _saveWorkflow: (project, subjectSet) ->
    workflowData =
      display_name: "#{project.display_name} default workflow"
      tasks: JSON.parse wizardData.tasks

            console.groupEnd()

  _saveProject: ->
    @setState log: @state.log.concat ['Saving project']
    {language: primary_language, name: display_name, introduction, description, scienceCase: science_case} = wizardData
    projectData = {primary_language, display_name, introduction, description, science_case}

    project = apiClient.createType('projects').createResource projectData
    project.save()
      .then =>
        @setState log: @state.log.concat ['Saved project']
        project
      .catch =>
        @setState log: @state.log.concat [new Error 'Failed to save project!']

  _saveSubjectSet: (project) ->
    @setState log: @state.log.concat ['Saving subject set']
    subjectSetData =
      display_name: "#{project.display_name} initial subjects"
      links:
