Use addEventListener instead of using inline HTML event binding