refactor events
Merge branch 'es6' of github.com:Ircam-RnD/timeline into es6

merge