texture loading in emscripten completed