Moai is opensource and the html host has been merged. http://github.com/moai/moai-dev , (moaifiddle is also opensource but doesn't actually build the moaijs.js file (it just uses a prebuilt one. http://github.com/halfnelson/moaifiddle)
Third party dependencies are all statically linked and compiled by emscripten too, so the moaijs.js includes box2d, lua, libpng, libjpg, tinyxml all compiled in from their sources.
Best of luck!