Press the up-arrow to jump, and to move press the left and right-arrow keys. If you want to play around with the physics of this platformer, then you can change the GRAVITY, JUMP FORCE, ACCELERATION, and RESISTANCE variables.
Thanks to @Griffpatch for the tutorial on Youtube.