Add component(1) support

Updated the "browser.js" file to wrap the constructor to accept (ignore) the 3rd options argument. Also added "component" section to the package.json file.

Ideally this wouldn't be necessary since we have `component/ws` as well, which is supposed to be the client-side part of using `ws` to write dual-sided code. However, it's necessary in this case since we can only list 1 "ws" dependency in the package.json file.