BUG in event.html

I can't get eventGridid to be a global variable