Use addEventListener instead of setting the on{eventName} properties