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
remove unnecessary semicolons
simplify the variable name "id" creation logic
Release 0.0.4
Automatically rewritten for npm.