             fileName = document.getElementById("file").files[0]
             fileText = await PromiseFileReader.readAsArrayBuffer(fileName)
             fileText = Array.from(new Uint8Array(fileText))
-            console.log @state
             languageName = undefined
             for lang in LANGUAGES
-                console.log lang
                 if ""+@state.lang_id == ""+lang[0]
                     languageName = lang[1]
             dataToSend =

        @submit = @submit.bind(this)

    setField: (field, value) ->
        console.log field, value
        newState = {@state...}
        if field == "file"
            newState.wasFile = true

                submit: undefined

    submit: (event) ->
        event.preventDefault()
        newState = {
            @state...
