migrate to React v0.12