Javascript events in Online Events