Pretty standard situation - while running towards the edge of the platform and pressing jump right before it's end. I would suggest adding a little timeframe right after you leave the ground during which you can still perform a jump. In such fast-paced game it could really give an illusion of much bigger responsiveness.