Update events.html

The `addProvider` method requires a name and one was missing from the example.
Merge pull request #7 from vlucas/patch-1

Update events.html