Fixed. I think i would prefer to have typed subscribe and unsuscribe calls. So subcribeToCompositionEnd instead of subscribe("compositionend".