var CommentBox = React.createClass({ getInitialState: function() { return { accept: 'image/*', action: 'http://localhost:8888/alfresco/service/api/upload', droppable: ''}; }, onChangeAccept: function(e) { this.setState({accept: e.target.value}); }, onChangeAction: function(e) { this.setState({action: e.target.value}); }, onChangeDroppable: function(e) { this.setState({droppable: e.target.checked}); }, render: function() { return (