Added ui.event.added and using _.assign instead of _.merge