(function () {
    'use strict';

    var React = require('react'),
        moment = require('moment'),
        api = require('./index'),

        Container = React.createClass({
            render: function () {
                return api.Klass({
                    model: this.state.model,
                    environment: new api.Environment(true, moment().format('YYYY-MM-DD')),
                    checkInInputId: 'check-in',
                    checkOutInputId: 'check-out',

                    onChange: function (model) {
                        this.setState({model: model});
                    }.bind(this)
                });
            },

            getInitialState: function () {
                return {
                    model: new api.Model(
                        moment().format('YYYY-MM-DD'),
                        moment().add(1, 'days').format('YYYY-MM-DD')
                    )
                };
            }
        });

    React.renderComponent(Container(), global.document.body);
}());

(function () {
    'use strict';

    var React = require('react'),
        moment = require('moment'),
        api = require('./index'),

        Container = React.createClass({
            render: function () {
                return api.Klass({
                    model: this.state.model,
                    environment: new api.Environment(true, moment().format('YYYY-MM-DD')),

                    onChange: function (model) {
                        this.setState({model: model});
                    }.bind(this)
                });
            },

            getInitialState: function () {
                return {
                    model: new api.Model(
                        moment().format('YYYY-MM-DD'),
                        moment().add(1, 'days').format('YYYY-MM-DD')
                    )
                };
            }
        });

    React.renderComponent(Container(), global.document.body);
}());

Remove checkInInputId & checkOutInputId from the demo