including 'legacy.js' with the needed ES5 shim for Array.isArray