Just so you know, this will only happen while using `'use strict'`.

Too bad this pull request hasn't been merged yet. But thanks for that, I was completely lost with this "index is not defined" error with ColorThief.