IE8 compatible event binding