Restored Emscripten support.

This involved removing thread support on Emscripten and audio positioning.