Fixed support for JS callbacks from timeline