Using component/event to add cross-browser support

I needed better cross-browser support, so I swapped out the event binding with [component/event](https://github.com/component/event).