Fixed the jump timing as suggested. Thanks for the heads up.
thats better, but still, sometimes it feels like that I get momentum correctly, when falling down and pressing space, but SOMETIMES I get yellow effect, it performs a jump , but the momentum is cut.