Minor: I'd probably call it `setupEvents()` or `registerEvents()` or something of that nature... functions are generally verbs.