Fix animations in firefox
Fix getCurrentRole call
Remove dead code