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

          <h2>Review and complete</h2>
          <table>
            <tr>
              <td>{<i className="fa fa-check"></i> if wizardData.name and wizardData.introduction and wizardData.description}</td>
              <td>Name, introduction, description</td>
            </tr>
            <tr>
              <td>{<i className="fa fa-check"></i> if wizardData.scienceCase}</td>
              <td>Science case</td>
            </tr>
            <tr>
              <td>{Object.keys(wizardData.subjects).length}</td>
              <td>Subjects</td>
            </tr>
            <tr>
              <td>{try Object.keys(JSON.parse wizardData.tasks).length catch then <i className="fa fa-times form-help error"></i>}</td>
              <td>Workflow tasks</td>
            </tr>
          </table>

          <p><button type="submit" onClick={@handleSubmit}>Create project and upload subject images</button></p>
        </div>
      </Route>

      <Route path="/build/new-project/progress">
        <div className="content-container">
          <table>
            <tr>
              <td>
                {<i className="fa fa-refresh fa-spin fa-fw"></i> if @state.savingProject}
                {<i className="fa fa-check fa-fw"></i> if @state.savedProject}
              </td>
              <td>Project</td>
            </tr>
            <tr>
              <td>
                {<i className="fa fa-refresh fa-spin fa-fw"></i> if @state.savingWorkflow}
                {<i className="fa fa-check fa-fw"></i> if @state.savedWorkflow}
              </td>
              <td>Workflow</td>
            </tr>
            <tr>
              <td>
                {<i className="fa fa-refresh fa-spin fa-fw"></i> if @state.savingSubjectSet}
                {<i className="fa fa-check fa-fw"></i> if @state.savedSubjectSet}
              </td>
              <td>Subject set</td>
            </tr>
            <tr>
              <td>
                {<i className="fa fa-refresh fa-spin fa-fw"></i> if @state.savingSubjects}
                {<i className="fa fa-check fa-fw"></i> if @state.savedSubjects}
              </td>
              <td>Subjects ({0} of {Object.keys(wizardData.subjects).length})</td>
            </tr>
          </table>
        </div>
      </Route>
    </div>

  _getSubjects: window._getSubjects = ->
    missing = []
    loose = []
    inManifest = []


      reader.readAsText file

  submitData: ->
    @_saveProject().then (project) =>
      @_saveSubjectSet(project).then (subjectSet) =>
        @_saveWorkflow(project, subjectSet).then (workflow) =>
