Upgrade to 2.5-RC2
JavaScript in tail example.
onEvent example