First cut of JS.JS update to build with LLVM 3.2 and latest emscripten.
Have no idea whether it works yet though.
Removed hacky va_args fix