If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
Grab bananas and jump over gaps as you throw piles of crap to trigger gate openings.
X - To throw poo.
Z - To jump.
Hold Z - To glide.
Z+Z - To double jump.