added array.prototype.slice polyfill for ie8