add browser field to map indexof -> indexof-component

Adds support for browserify. Otherwise the module as it exists in npm is
unusable.