Put Stats object into global scope so that it will work with the build process.
Merge branch 'master' of https://github.com/phetsims/phetcommon