I created a variable called vspeed. Every tick it increases the vspeed by 1 (unless its past 5 for a maximum fall speed) then add vspeed to the players y. When he clicks to jump, I simply set vspeed to -15.
I have a game on Kongregate called Really Flappy Bird if you want to see a working example. My username on there is Ciphox.