Optimize handler calls

Optimizes callbacks, borrowing from Backbone.Events.