Use up arrow or space or w to jump. Avoid all the spikes and other stuff to make to the end of the level.
Thanks to griffpatch for the code I used.