As you might know, there are (besides the big players like steam) some open platforms for casual/indie games. One of them is Kongregate
They offer an relatively easy to use API, supporting ActionScript 2/3 and Javascript.
Have a look at the Javascript API. How could it be integrated to C2?
Following the link, you can see that they also offer a html shell to make things easier. You need to embed the game in order to use the shell, of course. Does this work with C2?
In addition, there's the server-side JSON API, used for payment, high scores, badge feeds, etc. Again, how would that be integrated?
I know, that the API works for non-flash games, as I have tested several Unity games there. But I'm an absolute beginner when it comes to Javascript/html5.