React rewrite

Rewrite with react.js