Make two arguments optional for the addEventListener.