Is there a specific level that's causing this trouble, or do all of them seem to do it intermittently?
It would help me find the problem if you could play the game with the browser console open (Ctrl+Shift+J in Firefox) and then copy any errors that get output when the game freezes if you can reproduce the issue. That would help me track down what is going wrong.