Update all examples to use new addEventListener code.