added method arrayIndexOf and removed polyfill for Array.prototype.indexOf