fixed DOM event binding to bind many functions