make it work in node with requireJs

with just a var, it is not possible to use this inside node and requireJs (it breaks shimming). By assigning ColorThief to the global namespace, we can set up a shim in requireJS config to make ColorThief available.