Support react 0.4 and evenement 2.0