Thank you very much!
You’re right, some improvements could be done here, and I may improve it later, also making an html5 version!