OK! I finally figured it out and I did like you said. There is even a WebGL one but it is a little laggy.
It's working now :D really nice game and reallycool concept. I ended up running out of gas lol. really cool :D