Add custom events to demo page