updated to latest react.js and fix warnings (for simple module)