polifill for IE8 and less to support new array methods