                         'contractName': contractName,
                         'inputVariables': variables
                     }
-                    console.log constructVars
-                console.log "Creating button"
+
                 createButton = React.createClass(
                     displayName: 'createButton'
                     _handleSubmit: ->
-                        console.log 'Handling submit'
                         that.create(that.compiled[Object.keys(this.refs)[0]].info.abiDefinition, that.compiled[Object.keys(this.refs)[0]].code, constructVars[Object.keys(this.refs)[0]], Object.keys(this.refs)[0])
                     render: ->
                         React.createElement('form', { onSubmit: this._handleSubmit },
-                        React.createElement('input', {type: 'submit', value: 'Create', ref: contractName}, null, null))
+                        React.createElement('input', {type: 'submit', value: 'Create', ref: contractName}, null))
                     )
                 ReactDOM.render React.createElement(createButton, null), document.getElementById(contractName + '_create')
 

                # TODO: Handle Compilation asynchronously and handle errors
                ###
                that.compiled = web3.eth.compile.solidity(source);
                console.log that.compiled
                # Clean View before creating
                that.atomSolidityView.destroyCompiled()
                # Create inpus for every contract

                        console.log 'address: ' + myContract.address
                        document.getElementById(that.contractName + '_address').innerText = myContract.address
                        document.getElementById(that.contractName + '_stat').innerText = 'Mined!'

                        # Check every key, if it is a function create call buttons,
                        # for every function there could be many call methods,
                        # for every method there cpould be many inputs
                        # Innermost callback will have inputs for all abi objects
                        # Lets think the Innermost function

                        # Construct view for function call view
                        functionABI = React.createClass(
                            displayName: 'callFunctions'
                            getInitialState: ->
                                { childFunctions: [] }
                            componentDidMount: ->
                                self = this
                                that.constructFunctions that.abi, (error, childFunctions) ->
                                    if !error
                                        self.state.childFunctions.push(childFunctions)
                                        self.forceUpdate()
                            _handleChange: (event) ->
                                this.setState { value: event.target.value }
                            _handleSubmit: ->
                                console.log 'To be Handled call submit'
                            render: ->
                                self = this
                                React.createElement 'div', { htmlFor: 'test' }, this.state.childFunctions.map((childFunction, i) ->
                                    React.createElement 'form', { onSubmit: this._handleSubmit, key: i },
                                        React.createElement 'input', { type: 'button', readOnly: 'true', value: childFunction[0], ref: childFunction[0] }, childFunction[1].map((childInput, j) ->
                                            React.createElement 'input', { tye: 'text', value: childInput[0] + ' ' + childInput[1] }
                                        )
                                )
                        )

                        ReactDOM.render React.createElement(functionABI), document.getElementById(that.contractName + '_call')

                    else if !contract.address
                        document.getElementById(that.contractName + '_stat').innerText = "Contract transaction send: TransactionHash: " + contract.transactionHash + " waiting to be mined..."
                        console.log "Contract transaction send: TransactionHash: " + contract.transactionHash + " waiting to be mined..."
