Allow the plugin to be disabled

Namespaced the event listener and implemented a `disabled` option so
that the plugin can be disabled.