Adding support for 'multiple' attribute
modifying event binding a bit