Update emscripten_log to work with the handwritten JS demangler. Update tests.