added some array polyfills for ie