git clone git://github.com/kripken/emscripten.git export PATH=/path/to/emscripten:$PATH make clean
sys/emscripten.sh