export a global to play nice with third party module loaders

E.g. requirejs can inline/concat all dependencies into one file, but it wraps
each dependency in an IIFE.

Here is an example project using requirejs that needs this change: https://github.com/dustingetz/react-json-editor