If the game freezes, just click inside it (games can get unresponsive if you click elsewhere on the page).
Move mouse to kill the monster with blade. You will see that your magic power in the Blue Magic Bar below is increasing as you kill more and more monsters. When the magic power is accumulated to a certain amount.
You can click Left Mouse and Space bar to use your magic power.