updated to react 0.12