I've created my first real html5 game using C2 and you can see it here <img src="smileys/smiley1.gif" border="0" align="middle">
Now, the problem is that the game for some reason seems to have quite a quirky problem. To see what I mean please let it stay idle on level selection screen or on any level (you can mute the audio). Then go back to main menu. Once you do that, you'll notice that going back to main menu freezes the game for up to few seconds.
I would much appreciate any hints on how to locate the problem (only happens when going from level selection to menu). I'm not sure whether it's a bug or not, could as well be something I'm doing wrong. Or a hint on how to debug the thing?
Edit: Forgot to mention: if left for longer, the script crashes its browser tab even before I go back to menu.