Make the Emscripten examples work again, now compiles with -O3
Merge pull request #400 from eddyc/develop

Make the Emscripten examples work again, now compiles with -O3