When the green light reaches the bottom ball, press space or click the stage. There are 3 levels. Level 3 is hard to beat.
I just remixed, added an extra ball, changed the code to make the extra ball change colour, and added levels. I also changed the shape to make it look a bit better and added mobile support.