Fix clock rendering

Clock was producing an error when trying to render itself in its constructor:

`domify(html)[0]` was undefined, I changed it to just `domify(html)`.

Also, I changed delegates dependency to events, but that was not the issue.