$on and $off

Refactor code to register a dom proxy for any `dom/*` registration.