Update to React 0.12 style factories