Added support for cmt file without their cmi
rewrite 2 loops (one rec, one do-while) using "CPS" (window.setTimeout)