How Joker should have gotten on the train instead.
OK so you can't quite reach your friend's hand because you are not fast enough.
Then keep on running and jump onto the nearest car coming up at you from behind.
On the train.
They are gone.