Google can be a pretty powerful tool too.
http://gamemusic.multimedia.cx/js-prototype/
Here is another person that used Emscripten. I was able to compile locally pretty quick once I setup Emscripten locally. I am still having a minor issue with cmake and SDL, but you can look at this guys project too for help.