moved to non-wrapped use of Array.indexOf when available

swapped order of args to support `Array.indexOf(haystack, needle)`, deprecated need for `indexOfListener` when native is there.