Capture namespaced events

Things like Bootstrap use namespaced events, e.g. `"click.modal.data-api"` which don't match `event === 'click'`.