If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
Defend the dojo for as long as you can. Use your weapons to fight the villains. Collect tokens to replenish your ammunition or to recharge your "spells". Spells can be used once they are fully charged.Good luck warrior!