remove logging when on emscripten
fixed ifdef