Use new event APIs
Use custom element for git view