Preserve Chart as a window method in minified version

Keeps Chart as a global when included inside wrapper IIFE