Extend Array.prototype for using ArrayindexOf() on IE8 and below.