Simplify event binding with data attributes