Use React.renderComponentToString for rendering

Use React.renderComponentToString to work with client side render. See #reactjs/express-react-views#7 .