Upgrade for React 0.12.1