improve debug logging of emcc invocation
remove stack parameter from js optimizer traverse(), to avoid overhead when not needed