updated to react 0.3