Moved images to data/ and some emscripten compat.