Fixes incompatibility with ReactJS v0.11.2