Update for React 0.12