fix warning with createElement. upgrade to react 0.12.2