addEventListener fix for older browsers