I think that to publish in App stores you need to convert your code to the native readable format and gear your game for the platforms you want them to play on.
Other wise you can use a browser based format to publish to any platform that supports browsers.