requirejs optimizer support.  Temporarily disabled the react/jsx-based stats component as I couldn't get it to load with the require optimization