Append third argument to addEventListener for compatibility