add browser field to map indexof -> indexof-component

Adds support for browserify. Otherwise the module as it exists in npm is
unusable.
Merge pull request #11 from shtylman/master

add browser field to map indexof -> indexof-component