first video events and js structure