Tag: effective event handling in javascript