add some optimizations for `emit` (thanks backbone!)