If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
To pass, you have to control the donkey removed a certain number of tiles.
In the beginning of the game, you have 2 seconds of invincibility time.
Use arrow keys to move.
Space bar to switch mode.