tweaks to the 4.0 events widget/example

This correctly wraps events with a `.events` div and fixes the example code to remove unneeded and confusing code.