Changed syntax to avoid browser warning.

Using the constructor for instantiating JSX components has been
deprecated:

https://gist.github.com/sebmarkbage/ae327f2eda03bf165261