Update for React 0.12.0