The legacy build adds polyfills for `addEventListener` and `[].indexOf` and so on, for IE8 compatibility