Fixed typo in addEventListener