fixed typo
Changed syntax to avoid browser warning.

Using the constructor for instantiating JSX components has been
deprecated:

https://gist.github.com/sebmarkbage/ae327f2eda03bf165261
Merge pull request #645 from justin808/doc-fix

Doc fixes