Update to work with React v0.12

fixes #6

Signed-off-by: Jesse Stuart <jesse@jessestuart.ca>