I am building a small cross platform game for flash, ios, android and html5. I have noticed though that the html5 version slows down over time. If I run it on my laptop it starts off at around 60 fps with some hickups, but slowly decrease its fps down. After about 5-10 mins the fps is down to about round 20:s. I have checked that there are no obvious things like increasing number of objects or anything like this, and this is only in the main menu so there is no input really (i just let the game run).
Also more important is this is not happening on the other versions, flash, android, ios, regular runtime. Only when I build and test on html5. Is there some kind of memory leak or anything in the html5 runtime, or have anyone else experienced something like this? What can I do about it?