Copy react.js from facebook