React.js in Rails project