add an event to listen to when all babelsbergscripts were compiled
extend example to test event