Add sample code for parkour game with js chapter 4.
Merge pull request #56 from gloryming/master

fixed #3229, review