Specify event to psubscribe to
Add period to AddEventListener line