futzing around in preparation for emscripten build.