try to apply react.js