Also also I think the music is stopped whenever one finishes the game so it doesn't start again when the game is replayed without reloading the page (probably an issue with your autoloader ;))
thank yu i will check on that
fixed that. Actually the music was never meant to loop at all. Thank u