basic emscripten port working