added indexOf  and forEach in IE8,