chartRegistry was flooding global namespace

Without using `new`, the `this` context is the global context