remove usage of "component/indexof"

The only indexof() call was actually being invoked on a String, not
an Array. Virtually *every* JS engine out there supports
String#indexOf() (that is, I don't know of a single engine that does not).

Eliminating the `indexof` dependency is nice :)
Readme: add Installation notes