Just modified some lines of code in the jump() and updatePlayer() functions.  Jumping now works, and you can hold W and auto-jump!!!