If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
Try reaching to the end and finish the boss.
Arrow keys to move.
Q to charge chakra.
W to run)while holding arrow keys).
R to teleport.
A to Throw kunai.
S to attack.
F to block.