Behavior difference in parkour example when compiled to web and win32

Hi,
I am learning cocos2d and intend to use javascript to create some games.

I am using the Parkour example to learn and on chapter 6, the example starts to use Chipmunk engine.

If I compile the downloaded project with -p web, the game behaves same as the tutorial (i.e. the little person runs through the screen). But if I compile it with -p win32, the little person will just jump up and then jump down, and then disppeared.

I downloaded the most up to date cocos2dx (3.14.1) and the example works on all platforms (web and win32) until chapter 6.

http://cocos2d-x.org/docs/tutorials/javascript/parkour-game-with-javascript-v3.0/chapter6/en/index.html

Can someone help me?

many thanks