Declarative event definitions for backbone components