intelligent eventDelegate binding for KnockoutJS