Added logging into Emscritpten for some Mix_* methods.