emscripten loading texture