If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
Guide the surfer with your mouse. Hit peaking waves to go airborne, then left-click to perform stunts. Pull off consecutive stunts for bonus points. Avoid obstacles or it's game over, dude!